package com.twxm.breed.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.IsKey;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/*
* 鱼塘
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "fishpond")
public class FishPond {
    @IsKey
    @TableId
    @Column(comment = "鱼塘ID")
    private String pondId;

    @Column(name = "square", comment = "面积，单位：亩",type = MySqlTypeConstant.FLOAT,decimalLength = 2)
    private float square;

    @Column(name = "water_depth", comment = "水深，单位：m",type = MySqlTypeConstant.FLOAT,decimalLength = 2)
    private float waterDepth;

    @Column(name="soil", comment = "土质")
    private String soil;

    @Column(comment = "底质")
    private String bottomType;

    @Column(comment = "图片路径")
    private String image;
}
